Skip to content

Fix WordPress.org submission issues#21

Merged
acockrell merged 2 commits intomainfrom
fix/submission
Mar 23, 2026
Merged

Fix WordPress.org submission issues#21
acockrell merged 2 commits intomainfrom
fix/submission

Conversation

@acockrell
Copy link
Copy Markdown
Collaborator

Summary

  • readme.txt: fix Tested up to value (6.9.46.9), remove == Screenshots == section, add == Third-Party Services == disclosure for Google CSE with ToS and Privacy Policy links, add source repository link
  • Frontend: restrict Google CSE script, stylesheet, and init script to the configured results page only — previously loaded sitewide on every frontend page
  • Admin: fix printf() HTML substitution to use wp_kses() explicitly instead of passing raw HTML through esc_html__()
  • Languages: regenerate gpse.pot — fixes stale author (GeminiACLabs), removes orphaned strings from the removed search-form block

Test plan

  • Confirm assets (gpse.css, gpse-init.js, Google CSE script) do not load on non-results pages
  • Confirm assets load correctly on the configured results page and search results display as expected
  • Validate readme.txt at https://wordpress.org/plugins/developers/tools/
  • CI passes (lint + Jest + PHPUnit)

- readme.txt: fix Tested up to (6.9.4 → 6.9), remove screenshots
  section, add third-party service disclosure for Google CSE with ToS
  and Privacy Policy links, add source repo link
- frontend: restrict Google CSE script, stylesheet, and init script to
  the configured results page only (was loading sitewide)
- admin: fix printf() HTML substitution to use wp_kses() explicitly
- languages: regenerate gpse.pot (fixes stale author 'Gemini' → ACLabs,
  removes orphaned search-form block strings)
@acockrell acockrell merged commit 8abc8a0 into main Mar 23, 2026
4 checks passed
@acockrell acockrell deleted the fix/submission branch March 23, 2026 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant